import React from 'react'

const HocAddProp = (WrappedComponent, uid) =>

    class extends React.Component {
        render() {
            const newProps = {
                uid,
            }

            return <WrappedComponent {...this.props}  {...newProps} />
        }
    }

export default HocAddProp
